home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / TeXsource / beebe / makefile < prev   
Encoding:
Makefile  |  1987-06-04  |  11.8 KB  |  347 lines

  1. # Makefile for files in /tex/dvi using generic Unix cc
  2. #
  3. # Current target list:
  4. #    ALL    00arit    dvialw    dvibit    dvican    dvigd    dviimp    dvijep
  5. #    dvijet    dvil75    dvim72    dvimac    dvimpi    dvio72    dvioki    dviprx
  6. #    dvitos    keytst    lptops    lw78    texidx    tosprx    xxu
  7. #
  8. # [15-Apr-87] -- rebuilt dependency lists using "awk -f include.awk *.c"
  9.  
  10. SHELL=/bin/sh
  11.  
  12. CFLAGS = -DANSI=0 -DUNIX
  13.  
  14. LFLAGS = -lm
  15.  
  16. MV = mv
  17.  
  18. RM = rm
  19.  
  20. # Object file extension
  21.  
  22. O = .o
  23.  
  24. # Include files that include others
  25.  
  26. DVIHEAD = dvihead.h machdefs.h typedefs.h
  27.  
  28. MAIN = main.h commands.h gendefs.h gblprocs.h gblvars.h
  29.  
  30. # Targets
  31.  
  32. ALL:        dvialw    dvibit    dvican    dvigd    dviimp    dvijep    dvijet\
  33.     dvil75    dvim72    dvimac    dvimpi    dvio72    dvioki    dviprx    dvitos\
  34.     keytst    lptops    lw78    texidx    tosprx
  35.  
  36. # ======================================================================
  37. # Dependency lists and rules
  38.  
  39. 00arit:
  40.         $(RM) 00arit$(O)
  41.         $(RM) 00arit
  42.         $(CC) -DSIZE=short $(CFLAGS) 00arit$(C) -o 00arit $(LFLAGS)
  43.         00arit
  44.         $(RM) 00arit$(O)
  45.         $(RM) 00arit
  46.         $(CC) -DSIZE=int   $(CFLAGS) 00arit$(C) -o 00arit $(LFLAGS)
  47.         00arit
  48.         $(RM) 00arit$(O)
  49.         $(RM) 00arit
  50.         $(CC) -DSIZE=long  $(CFLAGS) 00arit$(C) -o 00arit $(LFLAGS)
  51.         00arit
  52.         $(RM) 00arit$(O)
  53.         $(RM) 00arit
  54.  
  55. dvialw:    dvialw$(O)
  56.         $(CC) $(CFLAGS) dvialw$(O) -o dvialw $(LFLAGS)
  57.  
  58. dvibit:    dvibit$(O) keybrd$(O)
  59.         $(CC) $(CFLAGS) dvibit$(O) keybrd$(O) -o dvibit $(LFLAGS)
  60.  
  61. dvican:    dvican$(O)
  62.         $(CC) $(CFLAGS) dvican$(O) -o dvican $(LFLAGS)
  63.  
  64. dvigd:    dvigd$(O)
  65.         $(CC) $(CFLAGS) dvigd$(O) -o dvigd $(LFLAGS)
  66.  
  67. dviimp:    dviimp$(O)
  68.         $(CC) $(CFLAGS) dviimp$(O) -o dviimp $(LFLAGS)
  69.  
  70. dvijep:    dvijep$(O)
  71.         $(CC) $(CFLAGS) dvijep$(O) -o dvijep $(LFLAGS)
  72.  
  73. dvijet:    dvijet$(O)
  74.         $(CC) $(CFLAGS) dvijet$(O) -o dvijet $(LFLAGS)
  75.  
  76. dvil75:    dvil75$(O)
  77.         $(CC) $(CFLAGS) dvil75$(O) -o dvil75 $(LFLAGS)
  78.  
  79. dvim72:    dvim72$(O)
  80.         $(CC) $(CFLAGS) dvim72$(O) -o dvim72 $(LFLAGS)
  81.  
  82. dvimac:    dvimac$(O)
  83.         $(CC) $(CFLAGS) dvimac$(O) -o dvimac $(LFLAGS)
  84.  
  85. dvimpi:    dvimpi$(O)
  86.         $(CC) $(CFLAGS) dvimpi$(O) -o dvimpi $(LFLAGS)
  87.  
  88. dvio72:    dvio72$(O)
  89.         $(CC) $(CFLAGS) dvio72$(O) -o dvio72 $(LFLAGS)
  90.  
  91. dvioki:    dvioki$(O)
  92.         $(CC) $(CFLAGS) dvioki$(O) -o dvioki $(LFLAGS)
  93.  
  94. dviprx:    dviprx$(O)
  95.         $(CC) $(CFLAGS) dviprx$(O) -o dviprx $(LFLAGS)
  96.  
  97. dvitos:    dvitos$(O)
  98.         $(CC) $(CFLAGS) dvitos$(O) -o dvitos $(LFLAGS)
  99.  
  100. keytst:    keytst$(O) keybrd$(O)
  101.         $(CC) $(CFLAGS) keytst$(O) keybrd$(O) -o keytst $(LFLAGS)
  102.  
  103. lptops:    lptops$(O)
  104.         $(CC) $(CFLAGS) lptops$(O) -o lptops $(LFLAGS)
  105.  
  106. lw78:    lw78$(O)
  107.         $(CC) $(CFLAGS) lw78$(O) -o lw78 $(LFLAGS)
  108.  
  109. texidx:    texidx$(O)
  110.         $(CC) $(CFLAGS) texidx$(O) -o texidx $(LFLAGS)
  111.  
  112. tosprx:    tosprx$(O)
  113.         $(CC) $(CFLAGS) tosprx$(O) -o tosprx $(LFLAGS)
  114.  
  115. # Object file dependencies
  116.  
  117. dvialw$(O):    dvialw.c\
  118.         $(DVIHEAD) $(MAIN) abortrun.h actfact.h alldone.h\
  119.         chargf.h charpk.h charpxl.h clrrow.h dvifile.h\
  120.         dviinit.h dviterm.h f20open.h fatal.h findpost.h\
  121.         fixpos.h fontfile.h fontsub.h getbytes.h getfntdf.h\
  122.         getpgtab.h inch.h initglob.h movedown.h moveover.h\
  123.         moveto.h nosignex.h openfont.h option.h prtpage.h\
  124.         readfont.h readgf.h readpk.h readpost.h readpxl.h\
  125.         reldfont.h rulepxl.h setfntnm.h setrule.h signex.h\
  126.         skgfspec.h skipfont.h skpkspec.h strchr.h strcm2.h\
  127.         strid2.h strrchr.h tctos.h usage.h warning.h
  128.  
  129.  
  130. dvibit$(O):    dvibit.c\
  131.         $(DVIHEAD) keydef.h $(MAIN) abortrun.h actfact.h\
  132.         alldone.h bopact.h chargf.h charpk.h charpxl.h\
  133.         clrrow.h dvifile.h dviinit.h dviterm.h eopact.h\
  134.         f20open.h fatal.h findpost.h fixpos.h fontfile.h\
  135.         fontsub.h getbytes.h getfntdf.h getpgtab.h inch.h\
  136.         initglob.h movedown.h moveover.h moveto.h nosignex.h\
  137.         openfont.h option.h prtpage.h readfont.h readgf.h\
  138.         readpk.h readpost.h readpxl.h reldfont.h rulepxl.h\
  139.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  140.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  141.         strrchr.h tctos.h usage.h warning.h
  142.  
  143.  
  144. dvican$(O):    dvican.c\
  145.         $(DVIHEAD) $(MAIN) abortrun.h actfact.h alldone.h\
  146.         chargf.h charpk.h charpxl.h clrrow.h dvifile.h\
  147.         dviinit.h dviterm.h f20open.h fatal.h findpost.h\
  148.         fixpos.h fontfile.h fontsub.h getbytes.h getfntdf.h\
  149.         getpgtab.h inch.h initglob.h movedown.h moveover.h\
  150.         moveto.h nosignex.h openfont.h option.h prtpage.h\
  151.         readfont.h readgf.h readpk.h readpost.h readpxl.h\
  152.         reldfont.h rulepxl.h setfntnm.h setrule.h signex.h\
  153.         skgfspec.h skipfont.h skpkspec.h special.h strchr.h\
  154.         strcm2.h strid2.h strrchr.h tctos.h usage.h warning.h
  155.  
  156.  
  157. dvigd$(O):    dvigd.c\
  158.         $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
  159.         alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
  160.         clrrow.h dispchar.h dvifile.h dviinit.h dviterm.h\
  161.         f20open.h fatal.h fillrect.h findpost.h fixpos.h\
  162.         fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
  163.         getpgtab.h initglob.h inch.h loadchar.h movedown.h\
  164.         moveover.h moveto.h nosignex.h openfont.h option.h\
  165.         outrow.h prtpage.h readfont.h readgf.h readpk.h\
  166.         readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
  167.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  168.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  169.         strrchr.h tctos.h usage.h warning.h
  170.  
  171.  
  172. dviimp$(O):    dviimp.c\
  173.         $(DVIHEAD) $(MAIN) abortrun.h actfact.h alldone.h\
  174.         chargf.h charpk.h charpxl.h clrrow.h dvifile.h\
  175.         dviinit.h dviterm.h f20open.h fatal.h findpost.h\
  176.         fixpos.h fontfile.h fontsub.h getbytes.h getfntdf.h\
  177.         getpgtab.h inch.h initglob.h movedown.h moveover.h\
  178.         moveto.h nosignex.h openfont.h option.h prtpage.h\
  179.         readfont.h readgf.h readpk.h readpost.h readpxl.h\
  180.         reldfont.h rulepxl.h setfntnm.h setrule.h signex.h\
  181.         skgfspec.h skipfont.h skpkspec.h special.h strchr.h\
  182.         strcm2.h strid2.h strrchr.h tctos.h usage.h warning.h
  183.  
  184.  
  185. dvijep$(O):    dvijep.c\
  186.         $(DVIHEAD) $(MAIN) abortrun.h actfact.h alldone.h\
  187.         chargf.h charpk.h charpxl.h clrrow.h dvifile.h\
  188.         dviinit.h dviterm.h f20open.h fatal.h findpost.h\
  189.         fixpos.h fontfile.h fontsub.h getbytes.h getfntdf.h\
  190.         getpgtab.h inch.h initglob.h movedown.h moveover.h\
  191.         moveto.h nosignex.h openfont.h option.h prtpage.h\
  192.         readfont.h readgf.h readpk.h readpost.h readpxl.h\
  193.         reldfont.h rulepxl.h setfntnm.h setrule.h signex.h\
  194.         skgfspec.h skipfont.h skpkspec.h special.h strchr.h\
  195.         strcm2.h strid2.h strrchr.h tctos.h usage.h warning.h
  196.  
  197.  
  198. dvijet$(O):    dvijet.c\
  199.         $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
  200.         alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
  201.         clrrow.h dvifile.h dviinit.h dviterm.h dispchar.h\
  202.         f20open.h fatal.h fillrect.h findpost.h fixpos.h\
  203.         fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
  204.         getpgtab.h initglob.h inch.h loadchar.h movedown.h\
  205.         moveover.h moveto.h nosignex.h openfont.h option.h\
  206.         outrow.h prtpage.h readfont.h readgf.h readpk.h\
  207.         readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
  208.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  209.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  210.         strrchr.h tctos.h usage.h warning.h
  211.  
  212.  
  213. dvil75$(O):    dvil75.c\
  214.         $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
  215.         alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
  216.         clrrow.h dispchar.h dvifile.h dviinit.h dviterm.h\
  217.         f20open.h fatal.h fillrect.h findpost.h fixpos.h\
  218.         fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
  219.         getpgtab.h inch.h initglob.h loadchar.h movedown.h\
  220.         moveover.h moveto.h nosignex.h openfont.h option.h\
  221.         outrow.h prtpage.h readfont.h readgf.h readpk.h\
  222.         readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
  223.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  224.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  225.         strrchr.h tctos.h usage.h warning.h
  226.  
  227.  
  228. dvim72$(O):    dvim72.c\
  229.         $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
  230.         alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
  231.         clrrow.h dispchar.h dvifile.h dviinit.h dviterm.h\
  232.         f20open.h fatal.h fillrect.h findpost.h fixpos.h\
  233.         fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
  234.         getpgtab.h inch.h initglob.h loadchar.h movedown.h\
  235.         moveover.h moveto.h nosignex.h openfont.h option.h\
  236.         outrow.h prtpage.h readfont.h readgf.h readpk.h\
  237.         readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
  238.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  239.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  240.         strrchr.h tctos.h usage.h warning.h
  241.  
  242.  
  243. dvimac$(O):    dvimac.c\
  244.         $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
  245.         alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
  246.         clrrow.h dispchar.h dvifile.h dviinit.h dviterm.h\
  247.         f20open.h fatal.h fillrect.h findpost.h fixpos.h\
  248.         fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
  249.         getpgtab.h inch.h initglob.h loadchar.h movedown.h\
  250.         moveover.h moveto.h nosignex.h openfont.h option.h\
  251.         outrow.h prtpage.h readfont.h readgf.h readpk.h\
  252.         readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
  253.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  254.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  255.         strrchr.h tctos.h usage.h warning.h
  256.  
  257.  
  258. dvimpi$(O):    dvimpi.c\
  259.         $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
  260.         alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
  261.         clrrow.h dispchar.h dvifile.h dviinit.h dviterm.h\
  262.         f20open.h fatal.h fillrect.h findpost.h fixpos.h\
  263.         fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
  264.         getpgtab.h inch.h initglob.h loadchar.h movedown.h\
  265.         moveover.h moveto.h nosignex.h openfont.h option.h\
  266.         outrow.h prtpage.h readfont.h readgf.h readpk.h\
  267.         readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
  268.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  269.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  270.         strrchr.h tctos.h usage.h warning.h
  271.  
  272.  
  273. dvio72$(O):    dvio72.c\
  274.         $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
  275.         alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
  276.         clrrow.h dispchar.h dvifile.h dviinit.h dviterm.h\
  277.         f20open.h fatal.h fillrect.h findpost.h fixpos.h\
  278.         fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
  279.         getpgtab.h inch.h initglob.h loadchar.h movedown.h\
  280.         moveover.h moveto.h nosignex.h openfont.h option.h\
  281.         outrow.h prtpage.h readfont.h readgf.h readpk.h\
  282.         readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
  283.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  284.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  285.         strrchr.h tctos.h usage.h warning.h
  286.  
  287.  
  288. dvioki$(O):    dvioki.c\
  289.         $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
  290.         alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
  291.         clrrow.h dispchar.h dvifile.h dviinit.h dviterm.h\
  292.         f20open.h fatal.h fillrect.h findpost.h fixpos.h\
  293.         fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
  294.         getpgtab.h inch.h initglob.h loadchar.h movedown.h\
  295.         moveover.h moveto.h nosignex.h openfont.h option.h\
  296.         outrow.h prtpage.h readfont.h readgf.h readpk.h\
  297.         readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
  298.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  299.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  300.         strrchr.h tctos.h usage.h warning.h
  301.  
  302.  
  303. dviprx$(O):    dviprx.c\
  304.         $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
  305.         alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
  306.         clrrow.h dispchar.h dvifile.h dviinit.h dviterm.h\
  307.         f20open.h fatal.h fillrect.h findpost.h fixpos.h\
  308.         fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
  309.         getpgtab.h inch.h initglob.h loadchar.h movedown.h\
  310.         moveover.h moveto.h nosignex.h openfont.h option.h\
  311.         outrow.h prtpage.h readfont.h readgf.h readpk.h\
  312.         readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
  313.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  314.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  315.         strrchr.h tctos.h usage.h warning.h
  316.  
  317.  
  318. dvitos$(O):    dvitos.c\
  319.         $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
  320.         alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
  321.         clrrow.h dispchar.h dvifile.h dviinit.h dviterm.h\
  322.         f20open.h fatal.h fillrect.h findpost.h fixpos.h\
  323.         fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
  324.         getpgtab.h inch.h initglob.h loadchar.h movedown.h\
  325.         moveover.h moveto.h nosignex.h openfont.h option.h\
  326.         outrow.h prtpage.h readfont.h readgf.h readpk.h\
  327.         readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
  328.         setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
  329.         skpkspec.h special.h strchr.h strcm2.h strid2.h\
  330.         strrchr.h tctos.h usage.h warning.h
  331.  
  332.  
  333. keybrd$(O):    keybrd.c\
  334.         keydef.h
  335.  
  336.  
  337. keytst$(O):    keytst.c\
  338.         keydef.h
  339.  
  340.  
  341. lptops$(O):    lptops.c\
  342.         inch.h strcm2.h
  343.  
  344.  
  345. tosprx$(O):    tosprx.c\
  346.         machdefs.h typedefs.h gendefs.h gblprocs.h clrbmap.h
  347.